package com.ruicar.afs.cloud.common.modules.apply.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruicar.afs.cloud.common.modules.apply.enums.CarTypeEnum;
import com.ruicar.afs.cloud.common.modules.apply.enums.LockFlagEnum;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author: Lee
 * @date: 2020/5/11 19:39
 * @description: 见证人信息
 */
@Data
public class WitnessInfoDTO {

    @ApiModelProperty(value = "渠道ID")
    private String channelId;
    @ApiModelProperty(value = "业务属性;新车、二手车")
    private CarTypeEnum businessAttributes;
    @ApiModelProperty(value = "见证人姓名")
    private String witnessName;
    @ApiModelProperty(value = "见证人身份证号码")
    private String witnessIdCard;
    @ApiModelProperty(value = "见证人授权有效期")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date witnessValidityAuthorization;
    @ApiModelProperty(value = "启用/停用原因")
    private String startStopReason;
    @ApiModelProperty(value = "状态;启用YES、停用NO")
    private LockFlagEnum status;
    @ApiModelProperty(value = "审批通过时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date approveTime;
    @ApiModelProperty(value = "停用时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd")
    private Date ceaseTime;
}
